﻿using MiniExcelLibs.Attributes;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.SystemServices.Dtos.Department
{
    /// <summary>
    /// 组织机构excel dto
    /// </summary>
    public class OrgExcelDto
    {
        /// <summary>
        /// 联系电话
        /// </summary>
        [ExcelColumnName("联系电话")]
        public string? Mobile { get; set; }

        /// <summary>
        /// 组织单位编号，用于唯一标识
        /// </summary>
        [ExcelColumnName("机构编码")]
        public string Code { get; set; }

        /// <summary>
        /// 组织单位类型 常量类型 OrgTypeConstant
        /// </summary>
        [ExcelColumnName("机构类型")]
        public string? Type { get; set; }

        /// <summary>
        /// 联系邮箱
        /// </summary>
        [ExcelColumnName("机构邮箱")]
        public string? Email { get; set; }

        /// <summary>
        /// 组织单位名称
        /// </summary>
        [ExcelColumnName("机构邮箱")]
        public string Name { get; set; }

        ///// <summary>
        ///// 上级组织单位ID，自引用用于组织和部门的层级关系
        ///// </summary>
        //[ExcelColumnName("上级单位")]
        //public long ParentId { get; set; }

        ///// <summary>
        ///// 负责人ID（适用于部门经理或组织负责人）
        ///// </summary>
        //[ExcelColumnName("负责人")]
        //public long ManagerId { get; set; }

        //[ExcelColumnName("启用状态")]
        //public string IsActive { get; set; }
    }
}
